package com.qf.model.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.qf.convert.DateConverter;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (ReserveRegister)实体类
 *
 * @author makejava
 * @since 2024-05-05 14:41:49
 */
@ColumnWidth(30)
public class ReserveRegister implements Serializable {
    private static final long serialVersionUID = -91930303732668570L;
    /**
     * 预约挂号id
     */
    @ExcelProperty("预约挂号id")
    private Long resId;
    /**
     * 就诊卡号(和患者的关联列)
     */
    @ExcelProperty("就诊卡号")
    private String resCard;
    /**
     * 挂号科室
     */
    @ExcelProperty("挂号科室")
    private String resDept;
    /**
     * 挂号类型
     */
    @ExcelProperty("挂号类型")
    private String resType;
    /**
     * 挂号费
     */
    @ExcelProperty("挂号费")
    private String resPrice;
    /**
     * 挂号状态
     */
    @ExcelProperty("挂号状态")
    private String status;
    /**
     * 就诊日期
     */
    @ExcelProperty(value = "就诊日期", converter = DateConverter.class)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date checkTime;
    /**
     * 候诊时间
     */
    @ExcelProperty(value = "候诊时间", converter = DateConverter.class)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date waitTime;

    public Long getResId() {
        return resId;
    }

    public void setResId(Long resId) {
        this.resId = resId;
    }

    public String getResCard() {
        return resCard;
    }

    public void setResCard(String resCard) {
        this.resCard = resCard;
    }

    public String getResDept() {
        return resDept;
    }

    public void setResDept(String resDept) {
        this.resDept = resDept;
    }

    public String getResType() {
        return resType;
    }

    public void setResType(String resType) {
        this.resType = resType;
    }

    public String getResPrice() {
        return resPrice;
    }

    public void setResPrice(String resPrice) {
        this.resPrice = resPrice;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public Date getWaitTime() {
        return waitTime;
    }

    public void setWaitTime(Date waitTime) {
        this.waitTime = waitTime;
    }

}

